import request from '@/utils/request'

// 查询ATM钞箱入出库记录列表
export function listAtmCassetteInoutRecord(query) {
  return request({
    url: '/service/atmCassetteInoutRecord/list',
    method: 'get',
    params: query
  })
}

// 查询ATM钞箱入出库记录详细
export function getAtmCassetteInoutRecord(id) {
  return request({
    url: '/service/atmCassetteInoutRecord/' + id,
    method: 'get'
  })
}

// 新增ATM钞箱入出库记录
export function addAtmCassetteInoutRecord(data) {
  return request({
    url: '/service/atmCassetteInoutRecord',
    method: 'post',
    data: data
  })
}

// 修改ATM钞箱入出库记录
export function updateAtmCassetteInoutRecord(data) {
  return request({
    url: '/service/atmCassetteInoutRecord',
    method: 'put',
    data: data
  })
}

// 删除ATM钞箱入出库记录
export function delAtmCassetteInoutRecord(id) {
  return request({
    url: '/service/atmCassetteInoutRecord/' + id,
    method: 'delete'
  })
}
